<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数据源</title>

		<link rel="stylesheet" href="../../lib/element-ui/index.css">
		<link rel="stylesheet" href="./index.css">

	</head>
	<body notcopyreturnvalue="true">

		<div id="app">

			<el-form :model="formData.fields" :rules="formData.rules" ref="formData" label-width="100px" class="app-form" status-icon>
				<el-form-item label="名称" prop="name">
					<el-input v-model="formData.fields.name"></el-input>
				</el-form-item>
				<el-form-item label="表单流程" prop="templateId">
					<el-select v-model="formData.fields.templateId" placeholder="请选择表单流程" @change="onWorkflowChang">
						<el-option v-for="item in formData.options.workflow" :key="item.id" :label="item.subject" :value="item.id"></el-option>
					</el-select>
				</el-form-item>
				<el-form-item label="说明">
					<el-input type="textarea" v-model="formData.fields.description"></el-input>
				</el-form-item>
			</el-form>
			
		</div>
	</body>

	<script type="text/javascript" src="../../lib/vue.js"></script>
	<script type="text/javascript" src="../../lib/element-ui/index.js"></script>
	<script type="text/javascript" src="../../lib/snail.common.js"></script>
	<script type="text/javascript" src="./index.js"></script>

</html>
